package net.microfigure.mapper;

import net.microfigure.model.AreaInfo;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-15
 */
@Mapper
public interface AreaInfoMapper extends BaseMapper<AreaInfo> {

	String selectcCodeById(String areaNo);

	@Select("select code from area_info where id = #{id}")
	String selectAreaNoById(String id);

}